package designpattern.singleton;

public class OdbcConnection implements Connection {

    public OdbcConnection() {
        //所有初始化工作完成后
        DBFactory.add("odbc",this);
    }

    @Override
    public void update() {
        System.out.println("---odbc---update");
    }
}
